//赛事中心
const mongoose = require('mongoose')

const schema = new mongoose.Schema({
  name: { type: String },
  bigTitle: { type: String },
  img: { type: String },
  news: [{
    title: { type: String },
    body: { type: String }
  }],
}, {
  timestamps: true//自动生成时间
})

module.exports = mongoose.model('Match', schema)